#!/bin/bash

mvn clean
docker build -t keycloak_admin:local .
localDockerContainer=`docker run -d keycloak_admin:local`
echo "localDockerContainer: $localDockerContainer"
docker cp $localDockerContainer:/root/keycloak_admin/.m2 ./
docker rm $localDockerContainer
